package com.zhuss.team.db.dao.ext;

import com.zhuss.bean.bo.team.invest.DeleteInvestQuestionBo;
import com.zhuss.team.db.dao.gen.InvestQuestionMapper;
import com.zhuss.team.db.entity.InvestQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InvestQuestionDao extends InvestQuestionMapper{

    List<InvestQuestion> listQuestion(@Param("investId") Long investId);

    void deleteByInvestQuestion(@Param("bo") DeleteInvestQuestionBo bo, @Param("investId") Long investId, @Param("questionIdList") List<Long> questionIdList);

    void create(InvestQuestion record);
}